﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 退货表实体类
    /// </summary>
    public class Return
    {
        public Guid ReturnID { get; set; }        //退货单编号
        public string SaleID { get; set; }        //销售单编号
        public string SaleDetailID { get; set; }  //销售明细编号
        public int Quantity { get; set; }         //数量

        public Return()
        {
            this.ReturnID = Guid.NewGuid();         //初始化全局唯一标识符
        }
        public Return(Guid returnID, string saleID, string saleDetailID, int quantity)
        {
            this.ReturnID = returnID;
            this.SaleID = saleID;
            this.SaleDetailID = saleDetailID;
            this.Quantity = quantity;
        }
    }
}
